import request from '@/utils/request'

// 查询医院住院结算列表
export function listHospital_discharge_settlement(query) {
  return request({
    url: '/report/hospital_discharge_settlement/list',
    method: 'get',
    params: query
  })
}

// 查询医院住院结算详细
export function getHospital_discharge_settlement(id) {
  return request({
    url: '/report/hospital_discharge_settlement/' + id,
    method: 'get'
  })
}

// 新增医院住院结算
export function addHospital_discharge_settlement(data) {
  return request({
    url: '/report/hospital_discharge_settlement',
    method: 'post',
    data: data
  })
}

// 修改医院住院结算
export function updateHospital_discharge_settlement(data) {
  return request({
    url: '/report/hospital_discharge_settlement',
    method: 'put',
    data: data
  })
}

// 删除医院住院结算
export function delHospital_discharge_settlement(id) {
  return request({
    url: '/report/hospital_discharge_settlement/' + id,
    method: 'delete'
  })
}
